253f0ff3d0ddb7def61532633aa0868916a54c3e,org.spoofax.jsglr/src/org/spoofax/jsglr/client/ParserHistory.java,ParserHistory,readRecoverToken,#SGLR#boolean#,49
Before Change
*/
public void readRecoverToken(SGLR myParser, boolean keepStacks) {
if (hasFinishedRecoverTokens()) {
if(myParser.getCurrentToken()!=SGLR.EOF){
if(getIndexLastToken()>=0){
myParser.readNextToken();
indentHandler.updateIndentation(myParser.getCurrentToken());
After Change
/*
* Set current token of parser based on recover tokens or read from new tokens
*/
public void readRecoverToken(SGLR myParser, boolean keepStacks) {
if (hasFinishedRecoverTokens()) {
if(myParser.getCurrentToken().getToken()!=SGLR.EOF){
if(getIndexLastToken()>=0){
myParser.readNextToken();
indentHandler.updateIndentation(myParser.getCurrentToken().getToken());